package cn.itcast.bos.service.take_delivery;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.itcast.bos.domain.take_delivery.WayBill;

public interface WayBillService {
   //保存运单
	void save(WayBill wayBill);

	//无条件分页查询
	Page<WayBill> findPageDate(WayBill model, Pageable pageable);

	
	//根据运单回显表单数据
	WayBill findByWayBillNum(String wayBillNum);
   
	
	 
	//同步索引库
	void syncIndex();

	
	
	//查询数据生成报表
	List<WayBill> findByWayBills(WayBill model);
   
}
